import Layout from '@/layout/index'

export default [
  {
    path: '/systemSetting',
    name: 'systemSetting',
    component: Layout,
    meta: { title: '系统设置', icon: 'menu-systemSetting', menuId: 6, showIndex: 10 },
    children: [
      {
        path: 'customerLevelManage',
        name: 'customerLevelManage',
        component: () => import('@/views/systemSetting/customerLevelManage/index'),
        meta: { title: '客户等级管理', menuId: 10115, showIndex: 1 }
      },
      {
        path: 'appVersionRecord',
        name: 'appVersionRecord',
        component: () => import('@/views/systemSetting/appVersionRecord/index'),
        meta: { title: 'APP版本查询', menuId: 40204, showIndex: 2 }
      },
      {
        path: 'processConfig',
        name: 'processConfig',
        component: () => import('@/views/systemSetting/processConfig/index'),
        meta: { title: '流程配置', menuId: 60101, showIndex: 3 }
      },
      {
        path: 'wechatConfig',
        name: 'wechatConfig',
        component: () => import('@/views/systemSetting/wechatConfig/index'),
        meta: { title: '公众号配置', menuId: 60102, showIndex: 4 }
      },
      {
        path: 'dicConfig',
        name: 'dicConfig',
        component: () => import('@/views/systemSetting/dicConfig/index'),
        meta: { title: '字典配置', menuId: 60103, showIndex: 5 }
      },
      {
        path: 'wechatBusinessNotice',
        name: 'wechatBusinessNotice',
        component: () => import('@/views/systemSetting/wechatBusinessNotice/index'),
        meta: { title: '微信业务通知', menuId: 60104, showIndex: 6 }
      },
      {
        path: 'wechatBusinessConfig',
        name: 'wechatBusinessConfig',
        component: () => import('@/views/systemSetting/wechatBusinessConfig/index'),
        meta: { title: '微信业务配置', menuId: 60105, showIndex: 6 }
      },
      {
        path: 'messageTemplate',
        name: 'messageTemplate',
        component: () => import('@/views/systemSetting/messageTemplate/index'),
        meta: { title: '消息模板', menuId: 60106, showIndex: 7 }
      },
      {
        path: 'systemHandleLog',
        name: 'systemHandleLog',
        component: () => import('@/views/systemSetting/systemHandleLog/index'),
        meta: { title: '系统操作日志', menuId: 60107, showIndex: 8 }
      },
      {
        path: 'companyInfo',
        name: 'companyInfo',
        component: () => import('@/views/systemSetting/companyInfo/index'),
        meta: { title: '公司信息', menuId: 60201, showIndex: 9 }
      },
      {
        path: 'orgUser',
        name: 'orgUser',
        component: () => import('@/views/systemSetting/orgUser/index'),
        meta: { title: '组织用户', menuId: 60202, showIndex: 10 }
      },
      {
        path: 'roleAuthority',
        name: 'roleAuthority',
        component: () => import('@/views/systemSetting/roleAuthority/index'),
        meta: { title: '角色权限', menuId: 60203, showIndex: 11 }
      }
    ]
  }
]
